﻿@model kxcxw.Data.Entities.PublichInformation
@{
    ViewBag.Title = "Create";
}
<h2>
    Create</h2>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>PublichInformation</legend>
        <div class="editor-label">
            @Html.LabelFor(model => model.InformationID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.InformationID)
            @Html.ValidationMessageFor(model => model.InformationID)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.Title)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Title)
            @Html.ValidationMessageFor(model => model.Title)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.ItemDeitalID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ItemDeitalID)
            @Html.ValidationMessageFor(model => model.ItemDeitalID)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.MapUrl)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MapUrl)
            @Html.ValidationMessageFor(model => model.MapUrl)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.OriginalPrice)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.OriginalPrice)
            @Html.ValidationMessageFor(model => model.OriginalPrice)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.Discount)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Discount)
            @Html.ValidationMessageFor(model => model.Discount)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.PresentPrice)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PresentPrice)
            @Html.ValidationMessageFor(model => model.PresentPrice)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.Other)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Other)
            @Html.ValidationMessageFor(model => model.Other)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.StartDate)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.StartDate)
            @Html.ValidationMessageFor(model => model.StartDate)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.EndDate)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.EndDate)
            @Html.ValidationMessageFor(model => model.EndDate)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.Addres)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Addres)
            @Html.ValidationMessageFor(model => model.Addres)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.Mobile)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Mobile)
            @Html.ValidationMessageFor(model => model.Mobile)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.ContactPerson)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ContactPerson)
            @Html.ValidationMessageFor(model => model.ContactPerson)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.IM)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.IM)
            @Html.ValidationMessageFor(model => model.IM)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.PictureShow)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PictureShow)
            @Html.ValidationMessageFor(model => model.PictureShow)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.InfoSource)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.InfoSource)
            @Html.ValidationMessageFor(model => model.InfoSource)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.PriorityLevel)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PriorityLevel)
            @Html.ValidationMessageFor(model => model.PriorityLevel)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.InfoType)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.InfoType)
            @Html.ValidationMessageFor(model => model.InfoType)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.AreaType, "SysItemDetials")
        </div>
        <div class="editor-field">
            @Html.DropDownList("AreaType", String.Empty)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.PublishID, "SysUserInfo")
        </div>
        <div class="editor-field">
            @Html.DropDownList("PublishID", String.Empty)
            @Html.ValidationMessageFor(model => model.PublishID)
        </div>
        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}
<div>
    @Html.ActionLink("Back to List", "Index")
</div>
